/*
Baseline - a designer framework
Copyright (C) 2009 Stephane Curzi, ProjetUrbain.com
Creative Commons Attribution-Share Alike 3.0 License
*/

/********************** layout **********************/
#page						{ width: 990px; padding: 0 18px; margin: 0 auto; }

/********************** Generic **********************/
#page						{ color: #333; }
h1, h2, h3, h4, h5, h6				{ color: #000; }
a						{ color: #789; }
a:link						{ color: #789; }
a:visited					{ color: #789; }
a:hover						{ background: #bcd; text-decoration: none; color: #000; }
a:active					{ background: #d00; text-decoration: none; }

header h1, header h2				{ color: #bcd; }
header h1					{ font-weight: bold; }
header h2					{  }

hr						{ background: #bcd; }


/******************** branding ********************/
/* type */
#branding h1					{ font-size: 50px; top: 0px; font-weight: normal; text-shadow: 0 -1px 2px rgba(1, 1, 1, 0.35); color: #fff; }
#branding h2					{ font-size: 18px; top: 21px; color: #000; }

/* Debug safari text on dark */
#branding h1					{ -webkit-text-stroke: 1px transparent; }
/*@media only screen and (max-device-width:480px) { #branding { -webkit-text-stroke: 0 black; } }*/

/* layout */
#branding					{ height: 90px; position: relative; margin-bottom: 36px; }
#branding .logo					{ background: url(/images/header.png) no-repeat #900; -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.35); width: 486px; height: 90px; float: left; }
#branding .logo a				{ background: none; width: 486px; height: 90px; position: absolute; top: 0; left: 0; }
#branding h1					{ margin: 17px 0 0 18px; float: right; margin-right: 18px; }
#branding h2					{ margin: 9px 0 0 18px; float: left; }

/******************* grid button *******************/
/* layout */
.grid-button	 					{ width: 100px; float: right; }
.grid-button ul 					{ width: 100px; top: 0; margin: 0; display: block; float: left; }
.grid-button li						{ border-right: solid 1px #bcd; width: 24px; height: 24px; display: block; float: left; }
.grid-button li.grid-remove			{ border: none; }
.grid-button li a					{ background-color: transparent; background-image: url(/images/icones.png); background-repeat: no-repeat; width: 24px; height: 24px; display: block; float: left; text-indent: -1000em; }
.grid-button li a:hover				{ background-color: #bcd; }
.grid-button li a:active			{ background-color: #d00; }

.grid-baseline a					{ background-position: -6px -42px; }
.grid-column a						{ background-position: -6px -114px; }
.grid-baseline-column a				{ background-position: -6px -78px; }
.grid-remove a						{ background-position: -6px -222px; }

/******************** navigation ********************/
/* type */
#main-menu li a					{ font-size: 15px; text-decoration: none; color: #000; }
/* layout */
    nav						{ border-top: solid 4px #000; height: 36px; margin-top: 14px; margin-bottom: 18px; float: left; }
#main-menu ul					{ margin: 0; top: 0; width: 100%; height: 36px; float: left; }
#main-menu li					{ display: block; float: left; line-height: 36px; }
#main-menu li a					{ border-left: solid 1px #bcd; background-color: transparent; padding: 0 12px; display: block; float: left; }
#main-menu li a:hover				{ border-left: solid 1px #bcd; background-color: #bcd; }
#main-menu li a:active				{ border-left: solid 1px #d00; background-color: #d00; }

#main-menu .menu-home a				{ border-left: solid 1px #bcd; }
#main-menu .menu-download a			{ background: url(/images/icones.png) no-repeat 0 -324px transparent; padding-left: 36px; }

#main-menu li.menu-lorem			{ height: 36px; width: 36px; float: right; text-indent: -1000em; }
#main-menu li.menu-lorem a			{ border-left: none; height: 36px; width: 36px; padding: 0; }
#main-menu li.menu-lorem a:hover	{ background: url(/images/icones.png) no-repeat 0 -396px transparent; }

.page-home #main-menu .menu-home a					{ border-left: solid 1px #000; background: #000; color: #fff; cursor: default; }
.page-typography #main-menu .menu-typography a		{ border-left: solid 1px #000; background: #000; color: #fff; cursor: default; }
.page-form #main-menu .menu-form a					{ border-left: solid 1px #000; background: #000; color: #fff; cursor: default; }
.page-grid #main-menu .menu-grid a					{ border-left: solid 1px #000; background: #000; color: #fff; cursor: default; }
/*.page-lorem #main-menu .menu-lorem a				{ border-left: solid 1px #000; background: #000; color: #fff; cursor: default; }*/

/********************* generic *********************/
/* type */
.space-width						{ font-family: times, "times new roman", serif; line-height: 14px; }

/* layout */
.stroke								{ border-top: solid 4px #bcd; margin-top: 14px; padding-top: 18px; }

img.photo							{ border: solid 1px #bcd; background: #fff; -webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2); padding: 8px; margin: 6px 18px 12px 0; float: left; }
img.photo.no-margin					{ margin-right: 0; }
img.photo.right						{ margin-right: 0; margin-left: 18px; float: right; }
a.photo:hover						{ background: none; }

.current-focus input				{ background: #ffe; }

.grid-example						{ background: rgba(187, 204, 221, 0.3); }
.grid-example.unitx1,
.grid-example.unitx2,
.grid-example.unitx3,
.grid-example.unitx4,
.grid-example.unitx5,
.grid-example.unitx6,
.grid-example.unitx7				{ margin-bottom: 18px; }

.white-space						{ margin-left: 0; list-style-type: none; clear: both; }
.description						{ display: block; float: left; clear: left; }
.description code					{ color: #999; }
.space-width						{ background: #ff9; }

#twitter 							{ padding-bottom: 0; }
#twitter ul 						{ margin-bottom: 0; }

/******************* message IE *******************/
/* type */
.message-ie p						{ font-size: 18px; font-weight: normal; color: #c00; }
.message-ie ul						{ margin: 18px 0 0 0; }
.message-ie li						{ font-weight: bold; list-style-type: none; }
.message-ie a						{ color: #000; text-decoration: none; }
.message-ie a:hover					{ color: #fff; }

/* layout */
.message-ie							{ background: #ffc; width: 100%; height: 108px; z-index: 100; }
.message-ie div						{ padding: 18px; }
.message-ie ul						{ height: 36px; margin-top: 9px; }
.message-ie li						{ height: 36px; line-height: 36px; display: inline; }
.message-ie li a					{ background: url(/images/icones-browser-ie.png) no-repeat 0 0; height: 36px; line-height: 36px; padding: 0 9px 0 36px; margin-right: 18px; float: left; }
.message-ie li a:hover				{ background-color: #000; }		
.message-ie li.browser-safari a			{ background-position: 0 0; }
.message-ie li.browser-safari a:hover	{ background-position: 0 -36px; }
.message-ie li.browser-firefox a		{ background-position: 0 -72px; }
.message-ie li.browser-firefox a:hover	{ background-position: 0 -108px;}		
.message-ie li.browser-opera a			{ background-position: 0 -144px; }
.message-ie li.browser-opera a:hover	{ background-position: 0 -180px;}		
.message-ie li.browser-chrome a			{ background-position: 0 -216px; }
.message-ie li.browser-chrome a:hover	{ background-position: 0 -252px;}		

/********************* button *********************/
/* type */
.button a							{ font-weight: bold; text-decoration: none; text-shadow: 0 -1px 2px rgba(1, 1, 1, 0.35); color: #fff; }
.button a:hover						{ background: transparent; }
/* layout */
.button								{ border-bottom: solid 1px #345; background: #678; background: -webkit-gradient(linear, left top, left bottom, from(#789), to(#456)); margin-top: 12px; top: 0; -webkit-border-radius: 5px; -webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4); display: inline-block; position: relative; margin-right: 6px; }
.button:hover						{ border-bottom: solid 1px #123; background: #678; background: -webkit-gradient(linear, left top, left bottom, from(#567), to(#234)); }
.button:active						{ top: 1px; }
.button a							{ padding: 6px 12px 5px 12px; display: block; }
.button a.email						{ background: url(/images/icones.png) no-repeat 0 -364px; padding: 6px 12px 5px 32px; }


/******************** footer ********************/
/* layout */
footer								{ border-top: solid 4px #000; background: url(/images/creative-commons.png) no-repeat 918px 0; margin-top: 14px; padding-bottom: 18px; position: relative; }

